/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tradingline.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tradingline.entity.TradingLine;
import com.jeeplus.modules.tradingline.mapper.TradingLineMapper;

/**
 * 交易线数据Service
 * @author w
 * @version 2021-04-12
 */
@Service
@Transactional(readOnly = true)
public class TradingLineService extends CrudService<TradingLineMapper, TradingLine> {

	public TradingLine get(String id) {
		return super.get(id);
	}
	
	public List<TradingLine> findList(TradingLine tradingLine) {
		return super.findList(tradingLine);
	}
	
	public Page<TradingLine> findPage(Page<TradingLine> page, TradingLine tradingLine) {
		return super.findPage(page, tradingLine);
	}
	
	@Transactional(readOnly = false)
	public void save(TradingLine tradingLine) {
		super.save(tradingLine);
	}
	
	@Transactional(readOnly = false)
	public void delete(TradingLine tradingLine) {
		super.delete(tradingLine);
	}
	
}